package com.www.bigevent.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class User {
    private Integer id;
    private String username;
    @JsonIgnore//让springmvc把当前对象转换为json字符串的时候,忽略password.最终json字符串就没有password这个属性
    private String password;
    private String nickname;
    private String email;
    private String user_pic;
    private LocalDateTime creat_time;
    private LocalDateTime update_time;

}
